<?php
namespace Goatherd\Content\Engine\Reader;

use Goatherd\Content\Engine\Reader\Buffer\IBuffer;

use Goatherd\Content\Engine\Queue\IItem;

/**
 * Buffered reader.
 *
 * @category ContentEngine
 * @package Goatherd\Content\Engine
 * @subpackage Reader
 */
interface IBufferedReader
extends IReader
{
    /**
     *
     * @return IBuffer
     */
    public function getBuffer();

    /**
     *
     * @param IBuffer $buffer
     */
    public function setBuffer(IBuffer $buffer);
}
